﻿<%@ Page Title="阳光积分得分查看" Language="C#" MasterPageFile="~/Master/MasterPage_New.master"
    AutoEventWireup="true" CodeBehind="SunMarkList.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.NewReport.SunMarkList" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="SunScoreList.aspx">阳光积分查看</a></li>
            <li class="active"><a href="#">阳光积分得分查看</a></li>
            <li><a href="HospitalScoreStatistics.aspx">医院积分情况统计</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr class="ltlAdvance">
                            <td align="right">
                                所在地区：
                            </td>
                            <td align="left">
                                <uc3:AreaControl ID="ddlArea" runat="server" />
                            </td>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="ltlAdvance">
                            <td align="right">
                                年份：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtyear" runat="server" Width="40"></asp:TextBox>月份：<asp:TextBox ID="txtmonth" runat="server" Width="30"></asp:TextBox>
                            </td>
                            <td align="right">
                               总分排序：
                            </td>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlsort">
                                <asp:ListItem Value="1">正序</asp:ListItem>
                                <asp:ListItem Value="2">倒序</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                医院等级：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlLevel" runat="server">
                                    <asp:ListItem Value="">全部</asp:ListItem>
                                    <asp:ListItem Value="三级">三级</asp:ListItem>
                                    <asp:ListItem Value="二级">二级</asp:ListItem>
                                    <asp:ListItem Value="二级以下">二级以下</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvw" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="HospitalName" HeaderText="医院名称" />
            <asp:BoundField DataField="Levels2" HeaderText="医院等级" />
            <asp:BoundField DataField="AreaName" HeaderText="地区" />
            <asp:BoundField DataField="SunYear" HeaderText="年份" ReadOnly="true" HeaderStyle-Width="60px" />
            <asp:BoundField DataField="SunMonth" HeaderText="月份" ReadOnly="true" HeaderStyle-Width="60px" />
            <asp:BoundField DataField="HPurchaseOnlineScore" HeaderText="上网采购得分(30分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseNormScore" HeaderText="网上采购规范得分(20分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseControledScore" HeaderText="接受监督及遵纪守法得分(20分)"
                ReadOnly="true" HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseExecuteScore" HeaderText="执行价格情况得分(10分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseHPriceScore" HeaderText="最高价管控得分(10分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseRemitScore" HeaderText="回款时间得分(10分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseLPriceScore" HeaderText="最低价加分得分(10分)" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="HPurchaseErrorsScore" HeaderText="漏报、错报监督得分" ReadOnly="true"
                HeaderStyle-Width="120px" />
            <asp:BoundField DataField="MonthScore" HeaderText="总得分" ReadOnly="true" HeaderStyle-Width="80px" />
            <asp:TemplateField HeaderText="当月积分是否考核">
                <ItemTemplate>
                    <asp:Label ID="bb" runat="server" Text='<%#Eval("IsCaiGou")==null?"否":Eval("IsCaiGou").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="IsCaiGouBL" HeaderText="当月积分是否考核" Visible="false" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged"
            AlwaysShow="true">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="Export" runat="server" Text="导出Excel" CssClass="btn" OnClick="Export_Click" />
    </div>
    <div class="listip">
        <ul>
            <li>说明： </li>
        </ul>
    </div>
</asp:Content>
